<?php

namespace app\services;

use plugin\admin\app\model\Version;

class VersionService
{

    public static function checkVersion($type, $currentVersion)
    {
//        $returnData = [
//            'has_new_version' => false,
//            'version_info' => []
//        ];

        $latestAndroidVersion = Version::orderByDesc('id')->first();

        return $latestAndroidVersion;
    }
}